package com.tgy.mapper;

import com.tgy.entity.Teacher;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/***
 * @ClassName: TeacherMapper
 * @Description:
 * @Auther: 送一一块二向箔
 * @Date: 17:36 2021/12/15
 * @version : V1.0
 */
public interface TeacherMapper {
    @Select("select * from teacher where #{tid}")
    Teacher getTeacher(@Param("tid") int id);

}
